#ifndef QMOVETOTHREAD_H
#define QMOVETOTHREAD_H

#include <QObject>
#include <QThread>
#include <QDebug>

class QMoveToThread : public QObject
{
    Q_OBJECT

public:
    QMoveToThread();
    ~QMoveToThread();

    void setSwitch(bool flag);

public slots:
    void slot_moveToThread();

private:
    bool startFlag;

};

#endif // QMOVETOTHREAD_H
